package records

import (
	"github.com/golib/mysql"
)

const RecordNameAuditionCitySection = "audition_city_section"

func init() {
	var r = &AuditionCitySection{}
	mysql.RegisterRecord(r.Name(), r)
}

type AuditionCitySection struct {
	CitySectionId        int    `column:"city_section_id" primary:"true" modify:"false" json:"citySectionId" form:"citySectionId"`
	CityId               int    `form:"cityId" column:"city_id" modify:"true" json:"cityId"`
	KnowledgeId          int    `modify:"true" json:"knowledgeId" form:"knowledgeId" column:"knowledge_id"`
	KnowledgeName        string `json:"knowledgeName" form:"knowledgeName" column:"knowledge_name" modify:"true"`
	SectionId            int    `json:"sectionId" form:"sectionId" column:"section_id" modify:"true"`
	SectionName          string `form:"sectionName" column:"section_name" modify:"true" json:"sectionName"`
	Difficulty           int    `json:"difficulty" form:"difficulty" column:"difficulty" modify:"true"`
	CityPracticeScore    int    `modify:"true" json:"cityPracticeScore" form:"cityPracticeScore" column:"city_practice_score"`
	CityMasterScore      int    `form:"cityMasterScore" column:"city_master_score" modify:"true" json:"cityMasterScore"`
	CountryPracticeScore int    `json:"countryPracticeScore" form:"countryPracticeScore" column:"country_practice_score" modify:"true"`
	CountryMasterScore   int    `json:"countryMasterScore" form:"countryMasterScore" column:"country_master_score" modify:"true"`
	CreateTime           string `column:"create_time" modify:"false" json:"createTime" form:"createTime"`
	UpdateTime           string `json:"updateTime" form:"updateTime" column:"update_time" modify:"false"`
}

func (r *AuditionCitySection) Name() string {
	return RecordNameAuditionCitySection
}
